density of an irregular object